<template>
	<view>
		<view>{{content}}</view>
	</view>
</template>

<script>
	export default {
		props:{
			content: {
				type: String,
				default:"请输入内容",
				required:true,
				validator: function(value){
					return value.length < 20;
				}
			}
		}
	}
</script>

<style>
</style>
